{% extends "base.html" %}
{% load i18n %}

{% block custom_styles %}
	<link rel="Stylesheet" type="text/css" href="/static/styles/crud.css" />
{% endblock custom_styles %}

{% block column_right %}
	<ul>
		{% if user.is_authenticated %}
		<li>
			<div class="box" id="user_menu">
				<div class="top">
					<div class="left"></div><div class="right"></div>
					<div class="center">{% trans "User Menu" %}</div>
				</div>
				<div class="middle">
				{% include "menu_user.html" %}
				<br class="clear"/>
				</div>
				<div class="bottom">
					<div class="left"></div><div class="right"></div><div class="center"></div>
				</div>
			</div>
			<br class="clear" />
		</li>
		{% endif %}
		<li>
			<div class="box">
				<div class="top">
					<div class="left"></div><div class="right"></div>
					<div class="center">
						{% trans "Ads" %}
					</div>
				</div>
				<div class="middle">
					<div>
						{% include "menu_ads.html" %}
						<br class="clear" />
					</div>
				</div>
				<div class="bottom">
					<div class="left"></div><div class="right"></div><div class="center"></div>
				</div>
			</div>
			<br class="clear" />
		</li>
		{% if user.is_authenticated and user.is_staff %}
		<li>
			<div class="box" id="admin_menu">
				<div class="top">
					<div class="left"></div><div class="right"></div>
					<div class="center">{% trans "Admin Menu" %}</div>
				</div>
				<div class="middle">
				{% include "menu_admin.html" %}
				<br class="clear"/>
				</div>
				<div class="bottom">
					<div class="left"></div><div class="right"></div><div class="center"></div>
				</div>
			</div>
		</li>
		{% endif %}
	</ul>
{% endblock column_right %}

{% block content %}
{% block page_content %}PAGE CONTENT{% endblock page_content %}
{% endblock content %}

